﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Laugh;
using Laugh.Logging;

namespace LaughTest
{
    [TestClass]
    public class UnitTestOfLogging
    {
        [TestMethod]
        public void TestLogging()
        {
            LaughStarter.Run();

            Log.Info("this is test.");
            Log.Warn("this is test.");
            Log.Info("this is test.");
            Log.Info("this is test.");
            Log.Info("this is test.");
            Log.Info("this is test.");
            Log.Info("this is test.");
            Log.Info("this is test.");
            Log.Info("this is test.");



            ILaughLog log = LogFactory.GetLogger("zzh");
            log.Debug("ddddddddddddddddddddddddddd");
            log.Debug("ddddddddddddddddddddddddddd");
            log.Debug("ddddddddddddddddddddddddddd");
            log.Debug("ddddddddddddddddddddddddddd");
            log.Debug("ddddddddddddddddddddddddddd");
            log.Debug("ddddddddddddddddddddddddddd");
            log.Debug("ddddddddddddddddddddddddddd");
            log.Debug("ddddddddddddddddddddddddddd");
            log.Debug("ddddddddddddddddddddddddddd");
            log.Debug("ddddddddddddddddddddddddddd");

            LaughStarter.Stop();
        }
    }
}
